package com.ruoyi.sports.domain;

import java.util.List;
import java.util.Date;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 运动会对象 sports_meeting
 * 
 * @author ZJH
 * @date 2023-03-08
 */
public class SportsMeeting extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 运动会ID */
    private Long sportsMeetingId;

    /** 运动会名字 */
    @Excel(name = "运动会名字")
    private String sportsMeetingName;

    /** 开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date startDate;

    /** 结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date endDate;

    /** 报名开始时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名开始时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicaitonStart;

    /** 报名结束时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "报名结束时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date applicaitonEnd;

    /** 赛事项目信息 */
    private List<Event> eventList;

    public void setSportsMeetingId(Long sportsMeetingId) 
    {
        this.sportsMeetingId = sportsMeetingId;
    }

    public Long getSportsMeetingId() 
    {
        return sportsMeetingId;
    }
    public void setSportsMeetingName(String sportsMeetingName) 
    {
        this.sportsMeetingName = sportsMeetingName;
    }

    public String getSportsMeetingName() 
    {
        return sportsMeetingName;
    }
    public void setStartDate(Date startDate) 
    {
        this.startDate = startDate;
    }

    public Date getStartDate() 
    {
        return startDate;
    }
    public void setEndDate(Date endDate) 
    {
        this.endDate = endDate;
    }

    public Date getEndDate() 
    {
        return endDate;
    }
    public void setApplicaitonStart(Date applicaitonStart) 
    {
        this.applicaitonStart = applicaitonStart;
    }

    public Date getApplicaitonStart() 
    {
        return applicaitonStart;
    }
    public void setApplicaitonEnd(Date applicaitonEnd) 
    {
        this.applicaitonEnd = applicaitonEnd;
    }

    public Date getApplicaitonEnd() 
    {
        return applicaitonEnd;
    }

    public List<Event> getEventList()
    {
        return eventList;
    }

    public void setEventList(List<Event> eventList)
    {
        this.eventList = eventList;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("sportsMeetingId", getSportsMeetingId())
            .append("sportsMeetingName", getSportsMeetingName())
            .append("startDate", getStartDate())
            .append("endDate", getEndDate())
            .append("applicaitonStart", getApplicaitonStart())
            .append("applicaitonEnd", getApplicaitonEnd())
            .append("eventList", getEventList())
            .toString();
    }
}
